SearchFormCtl = Ext.extend(FormCtl, {

			getCdt : function() {
				var items = this.items;
				var cdts = {};
				var hasP = false;
				for (var p in items) {
					var value = items[p].getValue();
					if (value != '' && value != null) {
						hasP = true;
					}
					cdts[p] = items[p].getValue();
				}

				if (hasP) {
					return cdts;
				} else {
					return null;
				}

			},
			search : function() {
				alert('SearchFormCtl');
			},
			configButtons : function(config) {

				config.buttons = [{
							text : '查询',
							handler : this.search,
							scope : this
						}, {
							text : '清空',
							handler : function() {
								this.cmp.form.reset();
							},
							scope : this
						}];

				config.buttonAlign = 'left'

				return config;

			}

		});
